/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package admin.beans;

import facades.CandidateFacade;
import java.io.Serializable;
import javax.enterprise.context.SessionScoped;
import javax.inject.Inject;
import javax.inject.Named;

/**
 *
 * @author Alvaro
 */
@Named(value = "indexViewAdminBean")
@SessionScoped
public class IndexViewAdminBean implements Serializable {
    @Inject
    private CandidateFacade candidateFacade;
   
    public IndexViewAdminBean() {
    }
    
    public Integer getCandidatesOnlyEmailCount(){
        return candidateFacade.getCandidatesOnlyEmailCount();
    }
    
    public Integer getCandidatesOnlyEmailAndInfoCount(){
        return candidateFacade.getCandidatesOnlyEmailAndInfoCount();
    }
    
    public Integer getValidCandidatesWithoutVideo(){
        return candidateFacade.getValidCandidatesWithoutVideo();
    }
    
    public Integer getValidCandidatesWithVideo(){
        return candidateFacade.getValidCandidatesWithVideo();
    }
}
